<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libunique</Name>
        <Homepage>http://live.gnome.org/LibUnique</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>A library for writing single instance applications</Summary>
        <Description>Unique is a library for writing single instance applications. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance.</Description>
        <!--<Archive sha1sum="32ab9849994da70f461fc78c59a2b930d294f8c7" type="tarbz2">ftp://ftp.gnome.org/pub/gnome/sources/libunique/2.90/libunique-2.90.1.tar.bz2</Archive>-->
        <Archive sha1sum="d44ad06503efaaa0c660c5f8a817e90fbe254d1f" type="tarbz2">ftp://ftp.gnome.org/pub/gnome/sources/libunique/1.1/libunique-1.1.6.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>99_ltmain_as-needed.patch</Patch>
            <!--<Patch level="0">libunique-2.90.1-fix-introspection.patch</Patch>-->
            <Patch level="1">libunique-1.1.6-G_CONST_RETURN.patch</Patch>
            <Patch level="0">fix-unused-but-set-variable.patch</Patch>
            <Patch level="1">fix-disable-deprecated.patch</Patch>
            <Patch level="0">unique-1.0.6-fix-str-fmt.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libunique</Name>
        <RuntimeDependencies>
            <Dependency>gtk2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>dbus-glib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libunique-devel</Name>
        <Summary>libunique development files</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">libunique</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <Package>
        <Name>libunique-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>Unique reference documents</Summary>
        <RuntimeDependencies>
            <Dependency releaseFrom="current">libunique</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-04-30</Date>
            <Version>1.1.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2014-03-09</Date>
            <Version>1.1.6</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>